from win32com.client import Dispatch
import setting
import os

xlApp = Dispatch("Excel.Application")
wb = xlApp.Workbooks.Open(os.path.join(setting.xls_dir, "stretch.xls"))
wb.ActiveSheet.PrintPreview()
xlApp.Visible = 1

